home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / prog_gen / go_utils.zip / GO.INF < prev    next >
Text File  |  1994-06-08  |  57KB  |  1,543 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                            GO
  12.  
  13.  
  14.  
  15.                            The Install-From-Diskette Program
  16.  
  17.  
  18.  
  19.                                      User's Manual
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                                 Copyright (C) 1991, 1994
  29.  
  30.                                           and
  31.  
  32.                                   All Rights Reserved
  33.  
  34.                                            by
  35.  
  36.                                 -- PINNACLE SOFTWARE --
  37.                                 CP 386 Ville Mont Royal
  38.                                 Quebec, Canada, H3P 3C6
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.      -------------------------------------------------------------------------
  47.  
  48.                         FROM THE OXFORD ENGLISH DICTIONARY:
  49.  
  50.      GO, v.i. Start, depart ... with self-originated or imparted motion, from
  51.      some place, position, time etc. ... always specified if it matters ...
  52.  
  53.      -------------------------------------------------------------------------
  54.  
  55.  
  56.     ===========================================================================
  57.                                      Legal Notices
  58.     ===========================================================================
  59.  
  60.  
  61.     The GO program and related files are distributed using freeware/shareware
  62.     concepts.  You are entitled to use these programs for free, but certain
  63.     restrictions apply.  Refer to the section of this manual entitled "Versions
  64.     and Registration" for details.
  65.  
  66.  
  67.     The following products are mentioned in this manual and are trademarked or
  68.     otherwise protected:
  69.  
  70.  
  71.     PRODUCT   FOR INFORMATION CONTACT
  72.     -------   -----------------------
  73.     ARC       System Enhancement Associates (SEA)
  74.     ARCE      Vernon Buerg, or System Enhancement Associates
  75.     COPYQM    Sydex
  76.     DIET      Teddy Matsumoto
  77.     FORMATQM  Sydex
  78.     LHARC     Haruyasu Yoshizaki
  79.     LIST      Vernon Buerg
  80.     PKLITE    PKWare
  81.     PKUNZIP   PKWare
  82.  
  83.  
  84.     Several text editor programs are mentioned in this manual.  These are
  85.     trademarked or otherwise protected by their companies or authors.
  86.  
  87.  
  88.     ===========================================================================
  89.                                  Layout of This Manual
  90.     ===========================================================================
  91.  
  92.  
  93.     Legal Notices
  94.  
  95.     Layout of This Manual
  96.  
  97.     A Quick Overview of the GO Package
  98.  
  99.     Basic Concepts
  100.       What is GO?
  101.       How GO Works
  102.       Using GO
  103.       Optional Menu Lines
  104.       The "Information" Selection
  105.         Colorization Rules
  106.       The "Install" Selection
  107.  
  108.     Changing the Way GO Works
  109.       Doing it the Easy Way
  110.       Doing It the Hard Way
  111.       Small Program to Run Afterwards
  112.  
  113.     Intermediate Techniques
  114.       Start-Up Parameters
  115.       Generating an Introductory Screen
  116.       Letting the User Choose the Viewing Method
  117.       Information and Install Menus
  118.         Menu Order
  119.  
  120.     Advanced Techniques
  121.       Using the GO Extension of Text Files
  122.       The ;INST Command
  123.         Jumping From Information to Installation
  124.         Overriding the Archive File Name
  125.         Other Applications
  126.  
  127.     Multi-Disk Installation
  128.       Installation Example
  129.       NAMe
  130.       SENDto
  131.       STARt
  132.         The No-Go Technique
  133.         Same Package -- Different Diskette Sizes
  134.       THISdisk
  135.       NEWDisk
  136.       NEWFile
  137.  
  138.     The GO-COPY Program
  139.       What is GO-COPY?
  140.       The GO-COPY.COP File
  141.  
  142.     The GO-DISKS Program
  143.       What is GO-DISKS?
  144.       GO-COPY and GO-DISKS Samples
  145.  
  146.     Using GO in Batch Files
  147.       What is GO-MENU?
  148.       Using GO -D With GO-MENU
  149.       The GO.HDG File
  150.         Changing the Menu Title
  151.         Jumping Directly to the Information Menu
  152.       The GetKey Alternative
  153.  
  154.     Hints and Tips
  155.       Specifying GO-COPY File Names
  156.       Renaming Copy Files
  157.  
  158.     Other Programs Included with GO
  159.       SEE
  160.       GO_SMALL
  161.       READING
  162.       SETERR
  163.       WAITBLK
  164.       WAIT
  165.       GETKEY
  166.  
  167.     Versions and Registration
  168.       Changes Between Versions
  169.       Registered Usage of GO Programs
  170.       Free Usage of GO Programs
  171.       Ordering Upgrades to GO
  172.         Standard Discount
  173.       Thank-You
  174.  
  175.  
  176.     ===========================================================================
  177.                            A Quick Overview of the GO Package
  178.     ===========================================================================
  179.  
  180.  
  181.     The GO package includes the following programs:
  182.  
  183.  
  184.     GO
  185.     --
  186.  
  187.     Place this program on any diskette you send out which contains compressed
  188.     archive files (e.g. .ZIP or .LZH).  The GO program will make installation
  189.     easy.  This is especially important if you send disks to computer novices.
  190.     GO can also display program information, or print out a reply form.
  191.  
  192.  
  193.     GO-COPY
  194.     -------
  195.  
  196.     This program makes it possible for computer novices to copy selected files
  197.     from your disk onto another diskette.  This is handy if you are a shareware
  198.     author, since you want to make your software easy to pass around.
  199.  
  200.  
  201.     GO-DISKS
  202.     --------
  203.  
  204.     This program reads in a list of file names, then copies those files to
  205.     diskettes.  Since the files are kept in RAM during the copy, you can mass-
  206.     produce disks more quickly than if you were using the COPY command.
  207.  
  208.  
  209.     GO-MENU
  210.     -------
  211.  
  212.     This program is used in a batch file to display a menu of up to 18 items.
  213.     This is ideal for organizing a diskette containing several unrelated
  214.     programs.  A much simpler "pick an option" program is also included in the
  215.     GO package -- see the GETKEY program mentioned below.
  216.  
  217.  
  218.     Other Programs
  219.     --------------
  220.     
  221.     The package also includes these utility programs which have proved useful
  222.     in packaging software:
  223.  
  224.     SEE       File viewer/printer
  225.  
  226.     GO_SMALL  A compressed but fully functional version of GO.EXE
  227.  
  228.     READING   Displays the nicely centered message "Reading disk..."
  229.  
  230.     SETERR    Sets the DOS ErrorLevel
  231.  
  232.     WAIT      Waits for time-out or for a key-press
  233.  
  234.     WAITBLK   Waits for a blank diskette in the indicated drive
  235.  
  236.     GETKEY    Waits for user to hit a key and reports result as ERRORLEVEL
  237.     
  238.     Each of these programs are described in more detail later.
  239.  
  240.  
  241.  
  242.     ===========================================================================
  243.                                  Basic Concepts
  244.     ===========================================================================
  245.                                              
  246.  
  247.                                   -----------
  248.                                   What is GO?
  249.                                   -----------
  250.  
  251.     "GO" is an installation program.  It is a specialized interface for
  252.     dearchiving programs such as PKUNZIP, ARCE, LHARC and so on.  You use it
  253.     for distribution of software via diskette.
  254.  
  255.     If you've ever given a computer novice a diskette with an archived file,
  256.     you know the routine:
  257.  
  258.     "Okay, you put the diskette in the drive, then type PKUNZIP followed by the
  259.     root name of the zip and then the name of the directory it's going to,
  260.     unless you're there already ... and don't forget to separate the
  261.     parameters with spaces!"
  262.  
  263.     The usual comment after such an explanation is:
  264.  
  265.     "Can't you make it any easier that that?"
  266.  
  267.     Thanks to GO ... you can!
  268.  
  269.  
  270.                                   ------------
  271.                                   How GO Works
  272.                                   ------------
  273.  
  274.     NOTE: In this manual, we refer to archive files as ZIP files.  The
  275.     shareware version of GO is initially configured to dearchive files produced
  276.     by PKWare's PKZIP program, but it can also work with ARC, PAK, ZOO or other
  277.     archive formats.  We like to use the LZH format on some of our distribution
  278.     diskettes.
  279.  
  280.     When you're preparing a diskette for somebody, copy one or more ZIP files
  281.     (up to a maximum of 17) onto the diskette, plus the dearchiving program,
  282.     plus the file GO.EXE.  Then write an explanation on the diskette label:
  283.  
  284.     "Put diskette in the A: drive -- At the DOS prompt enter the command A:GO"
  285.  
  286.     If the user follows those simple instructions, he will be able to install
  287.     the ZIP files that are located on the diskette.  The user does require a
  288.     certain minimum level of knowledge, though. He must be familiar with terms
  289.     like Drive A:, File, and Directory.
  290.  
  291.  
  292.  
  293.                                     --------
  294.                                     Using GO
  295.                                     --------  
  296.  
  297.     When the user types A:GO (or B:GO if appropriate) he is presented with a
  298.     very simple menu that offers him the following three choices:
  299.  
  300.     - Information
  301.     - Install
  302.     - Quit
  303.  
  304.     He can select an option either with function keys or by using the arrow
  305.     keys and Enter.
  306.  
  307.     <Information> displays a text file on the diskette.  If there are more than
  308.     one text file, he is presented with a menu.
  309.  
  310.     <Install> suggests a directory name (which the user can change), then
  311.     dearchives the program into that directory.  If there are more than one
  312.     archive file, he is first presented with a menu.
  313.  
  314.  
  315.  
  316.                               -------------------
  317.                               Optional Menu Lines
  318.                               -------------------
  319.  
  320.     The GO menu sometimes shows more than the three items mentioned (i.e.
  321.     Information, Install and Quit).  The following two items may also appear:
  322.  
  323.     - About "GO"
  324.     - Print reply form
  325.  
  326.     <About "GO"> appears on all unregistered copies of GO.  If you order a
  327.     personalized copy of GO ($19), this advertisement will disappear.
  328.     (Personalized copies also replace our copyright notice on the main menu
  329.     with the text of your choice.)
  330.  
  331.     <Print reply form> appears only if the file GO-FORM.DAT appears on the
  332.     diskette.  GO-FORM.DAT is a text file that can be prepared on any standard
  333.     DOS text editor.
  334.  
  335.  
  336.  
  337.                           ---------------------------
  338.                           The "Information" Selection
  339.                           ---------------------------
  340.  
  341.     GO's Information section is designed exclusively for small text files.  If
  342.     you want to display a large document prior to installation, we recommend
  343.     that you use the SEE program provided with GO.
  344.  
  345.     A "text file" is any file with an extension of TXT, LST, or S-D.
  346.  
  347.     The Information section is appropriate for displaying one or two screens
  348.     containing important information such as:
  349.  
  350.     - A brief description of what's on the disk
  351.     - How the user can obtain help if he gets stuck
  352.  
  353.     If the user is viewing the text on a color monitor, the text will be
  354.     displayed in various colors, according to some simple rules.
  355.  
  356.  
  357.  
  358.     Colorization Rules
  359.     ------------------
  360.  
  361.     If the viewer is using monochrome or MODE BW80, all text is the same color.
  362.     Otherwise...
  363.  
  364.  
  365.     IF THE LINE CONTAINS        THE COLOR IS
  366.     --------------------        ------------
  367.     Regular text                LightGreen     unless...
  368.     Four spaces in a row        Yellow         unless...
  369.     All uppercase               LightMagenta   unless...
  370.     Characters over ASCII 128   LightCyan      unless...
  371.     ;NEW or ASCII 12 in col. 1  White on Blue
  372.  
  373.  
  374.     NOTE: ASCII 12 (CTRL-L i.e. Form Feed) causes a new screen to be displayed.
  375.     All text editors have a method for inserting  control characters.
  376.     WordStar-style editors (QEdit, Turbo Pascal Editor, etc.) can insert Ctrl-L
  377.     with the keystroke sequence Ctrl-P Ctrl-L.  If you can not type a CTRL-L,
  378.     you can type ;NEW instead.  The advantage of using CTRL-L is that it will
  379.     cause a page-eject if the document is printed out.
  380.  
  381.     This colorization technique is not as versatile as ANSI displays, but it
  382.     allows the user to view or print the files using whatever method he
  383.     prefers.  Also, these colorization rules let you use a regular text file,
  384.     are easily memorized, and generally create a fairly attractive display.
  385.  
  386.  
  387.  
  388.                             -----------------------
  389.                             The "Install" Selection
  390.                             -----------------------  
  391.  
  392.     NOTE: The "Install" selection appears on the main GO menu only if GO sees
  393.     an archive file that uses the format it is configured for (e.g. a ZIP file
  394.     if GO is configured to use PKUNZIP; ARC for ARCE etc.)
  395.  
  396.     When the user selects "Install" from the main GO menu, the archive file on
  397.     the diskette is installed in a directory with the same name.  (The user has
  398.     a chance to change the name of the directory.)
  399.  
  400.     If there is more than one archive file, the user is first presented with a
  401.     menu so he can select which file he wants installed.
  402.  
  403.     Remember to put a copy of the dearchiving program on the diskette, or the
  404.     installation step will display an error message.  (In such case, GO will
  405.     scan the user's PATH for a copy of the dearchiving program, but it will
  406.     nevertheless caution him that it expected to find a dearchiving program on
  407.     the diskette.  This forewarns the user that problems may occur if his
  408.     copy of the dearchiver is obsolete.)
  409.  
  410.     After the installation is complete, GO looks in the directory for a file
  411.     named INFO.GO.  If GO can not find it, it looks for a file named READ.ME.
  412.     If it finds either one, it displays it.  If it can't find either one, it
  413.     displays the first DOC file in the directory.  GO then returns the user to
  414.     DOS.
  415.  
  416.     Your INFO.GO (or READ.ME) file should tell the user what to do next. One
  417.     helpful technique is to tell the user to start a batch file (named, say,
  418.     START.BAT) which contains a menu (using our GO-MENU program) which looks
  419.     something like this:
  420.  
  421.                       F1  Introduction
  422.                       F2  User manual
  423.                       F3  Demonstration
  424.                       F4  Calling for technical support
  425.                       F8  View or print registration form
  426.                       F10 Exit
  427.  
  428.     Text files (e.g. the introduction and user manual) can be displayed with
  429.     our SEE.EXE program (included in the GO package).
  430.  
  431.     If your installation is fancy (i.e. requires dearchiving the archive file
  432.     into several different directories), you could place the directories in
  433.     separate archive files.  A better solution is to order a customized version
  434.     of GO, or to modify the dearchiving parameters to retain sub-directory
  435.     names.  The method for modifying GO directly is explained in the next
  436.     section.
  437.  
  438.     See also "The ;INST Command" in "Advanced Techniques".
  439.  
  440.  
  441.  
  442.     ===========================================================================
  443.                            Changing the Way GO Works
  444.     ===========================================================================
  445.  
  446.  
  447.                              ---------------------
  448.                              Doing it the Easy Way
  449.                              ---------------------
  450.  
  451.     When you order a registered copy of GO from Pinnacle Software, you may ask
  452.     us to change the dearchiving method and certain other items.  Please
  453.     remember to cite the precise name of the program that does the dearchiving,
  454.     the extension of the archive files that it handles, and the command-line
  455.     parameters it requires.  (If possible, send us a copy of the program so we
  456.     can test it.)
  457.  
  458.     There is no extra charge for this service (apart from the basic
  459.     registration fee).
  460.  
  461.     For a list of the items that we can change for you at no extra charge,
  462.     start up GO as follows:
  463.  
  464.     GO /?
  465.  
  466.  
  467.                              ---------------------
  468.                              Doing It the Hard Way
  469.                              ---------------------
  470.                                               
  471.     If you're an experienced programmer, you can use a program such as DEBUG to
  472.     "zap" in the name of the dearchiving program.  You can find the text string
  473.     near the end of the GO.EXE file.  The byte just prior to each string
  474.     dictates its actual length.
  475.  
  476.     The string following the file name contains the extension of the archive
  477.     files (e.g. ZIP).  This can be changed if necessary -- be sure to change
  478.     the length byte if different from the original.
  479.  
  480.     The next string (ten characters) contains the parameter to pass to the
  481.     dearchiver.  (Some dearchivers, such as PKUNZIP, don't need a parameter)
  482.     For example, to change the dearchiving method from PKUNZIP to LHA...
  483.  
  484.     Original Hex/Ascii:
  485.  
  486.     0B 50 4B 55 4E 5A 49 50 2E 45 58 45 00 00 03 5A   .PKUNZIP.EXE...Z
  487.     49 50 00 00 00 00 00 00 00 00 00 00 00 00 0B 00   IP..............
  488.  
  489.     After modification:
  490.  
  491.     07 4C 48 41 52 43 2E 45 58 45 00 00 00 00 03 4C   .LHA.EXE.......L
  492.     5A 48 01 65 00 00 00 00 00 00 00 00 00 00 00 00   ZH.e............
  493.  
  494.     To summarize, the variables are laid out as follows:
  495.  
  496.     Dearchiving program:     1 length byte, then 12 characters for file name
  497.     Archive extension:       1 length byte, then  3 characters for extension
  498.     Dearchiving parameters:  1 length byte, then 10 characters for parameters
  499.  
  500.     After modification, you can check your work by starting GO as follows:
  501.  
  502.     GO /?
  503.  
  504.     You can also use this command to see a list of the items that we can modify
  505.     for you for the cost of basic registration.
  506.  
  507.  
  508.  
  509.                         -------------------------------
  510.                         Small Program to Run Afterwards
  511.                         -------------------------------
  512.  
  513.     If you start up GO with  GO /?  to display the items we can change for you,
  514.     you will notice that one of them is "Small program to run afterwards".  It
  515.     is possible to run a little program after GO ends.  Although this sounds
  516.     like a good idea, it is not always recommended, for two reasons.
  517.  
  518.     First of all, GO takes up a certain amount of memory, and you never know
  519.     how much RAM the end user has available.  If GO calls up a large program
  520.     (your main application, for example), the user may run out of memory.
  521.  
  522.     Second, if GO ends immediately after you display a INFO.GO file (which
  523.     should tell the user what to do to get started), you are training the user
  524.     how to start up your application.  Since many users learn computer
  525.     operations by rote (i.e. they memorize the keystrokes they type), this can
  526.     save the user some confusion the next day when he tries to recall how to
  527.     start the program; if he did it once before, he will probably remember.
  528.  
  529.     The "small program to run afterwards" is best reserved for a one-time
  530.     installation or configuration program, and it should take up less than 300K
  531.     of RAM when it runs.
  532.  
  533.  
  534.  
  535.     ===========================================================================
  536.                             Intermediate Techniques
  537.     ===========================================================================
  538.  
  539.  
  540.                               -------------------
  541.                               Start-Up Parameters
  542.                               -------------------
  543.  
  544.     GO can detect if the user is using a monochrome display card, but if you
  545.     know that the user has a monochrome monitor with a COLOR display card,
  546.     advise him that he can improve legibility by starting up GO as follows:
  547.  
  548.     GO M
  549.  
  550.     The GO program can report on its home drive (i.e. which drive GO.EXE is
  551.     located upon) if you start it up like this:
  552.  
  553.     GO /@
  554.  
  555.     This sets the DOS ERRORLEVEL to 1 if GO.EXE is on the A: drive, 2 if it
  556.     is on the B: drive, 3 if on the C: drive, and so on.  This capability is
  557.     helpful if you have a batch file on diskette that calls GO and needs to
  558.     return to it later.
  559.  
  560.     Another start-up parameter (the -D parameter) is described in the section
  561.     of this manual entitled "GO-MENU".
  562.  
  563.     For more information about start-up parameters, start GO as follows:
  564.  
  565.     GO /?
  566.  
  567.  
  568.                        ---------------------------------
  569.                        Generating an Introductory Screen
  570.                        ---------------------------------
  571.  
  572.     If you want your user to see some text even before the main menu shows up,
  573.     place the text in a file named 'GO-STRT.DAT'.
  574.  
  575.     This is good place to put personal notes or special instructions that apply
  576.     only to the recipient of the diskette.  The personal note is a nice touch
  577.     that your users may appreciate; most people don't expect to be greeted by
  578.     name when they run the installation program!
  579.  
  580.  
  581.  
  582.                    ------------------------------------------
  583.                    Letting the User Choose the Viewing Method
  584.                    ------------------------------------------
  585.  
  586.     When designing GO-viewable screens, bear in mind that the user may decide
  587.     to view the file with another viewer, such as LIST or SEE.  Thus, even
  588.     though you may be tempted to do this:
  589.  
  590.  
  591.     End of screen 1
  592.     <CTRL-L>Heading of Screen 2
  593.     Text of screen 2
  594.  
  595.  
  596.     ...you should leave at least one empty line in front of the heading:
  597.  
  598.  
  599.     End of screen 1
  600.  
  601.     <CTRL-L>Heading of Screen 2
  602.     Text of screen 2
  603.  
  604.  
  605.     Similarly, if you know that the file is likely to be printed, avoid using
  606.     line-drawing and other special characters.
  607.  
  608.  
  609.  
  610.                          -----------------------------
  611.                          Information and Install Menus
  612.                          -----------------------------
  613.                                                       
  614.     Information and install menus pop up only when there are more than one file
  615.     of the appropriate type.
  616.  
  617.     For example, if you had one ZIP file, it would be picked automatically when
  618.     the user selects <Install> from the Main Menu.  However, if there were more
  619.     than one ZIP file, the user would be presented with a menu.
  620.  
  621.  
  622.     Menu Order
  623.     ----------
  624.     
  625.     The text menu is sorted by extension according to the following order:
  626.  
  627.     TXT  LST  S-D        (The GO extension is a special case, explained later)
  628.  
  629.     If you have several files with one extension, they appear in the same order
  630.     that is shown in the listing obtained with the DOS DIR command.
  631.  
  632.     If you want to modify the list of extensions, provide us with your required
  633.     list when you register GO and we'll modify your copy of the program
  634.     accordingly.  There is no extra charge for this service.
  635.  
  636.     If you want to modify the list yourself, you will find it located near the
  637.     end of the EXE file.  The string is 20 characters long, preceded by a
  638.     length byte.  For information about such alterations, refer to the section
  639.     entitled "Doing It the Hard Way".
  640.  
  641.     The install menu lists the files in the order they appear in the listing
  642.     obtained with the DOS DIR command.
  643.  
  644.  
  645.  
  646.     ===========================================================================
  647.                               Advanced Techniques
  648.     ===========================================================================
  649.  
  650.  
  651.  
  652.                      -------------------------------------
  653.                      Using the .GO Extension of Text Files
  654.                      -------------------------------------
  655.  
  656.  
  657.     As mentioned earlier, the "Information" option of the main GO menu scans
  658.     for these extensions:
  659.  
  660.     TXT  LST  S-D
  661.  
  662.     GO also looks to see if you have any files with the .GO extension.  These
  663.     are treated like other text files, but the first line of the file is
  664.     displayed on the Information menu, instead of the file name.
  665.  
  666.     When the user selects the file from the Information menu, the first line of
  667.     the file (the one that appeared on the Information menu) is NOT displayed.
  668.  
  669.     GO files support some other special features, which are explained below.
  670.  
  671.  
  672.  
  673.                                -----------------
  674.                                The ;INST Command
  675.                                -----------------
  676.  
  677.     You can place an ;INST command at the end of a GO file to control the
  678.     installation process.  This is explained below.
  679.  
  680.  
  681.     Jumping From Information to Installation
  682.     ----------------------------------------
  683.  
  684.     If the last line of a .GO file is:
  685.  
  686.     ;INST
  687.  
  688.     the user will be asked (after viewing the final screen of information):
  689.  
  690.     Do you want to install this now? (Y n)
  691.  
  692.     If they press Y, the product is installed immediately.  This saves them the
  693.     trouble of going back to the main menu and then selecting "Install".
  694.  
  695.  
  696.     Overriding the Archive File Name
  697.     --------------------------------
  698.  
  699.     If the INST command is followed by a file root name (up to 8 characters),
  700.     this will over-ride the normal association between the GO and archive file
  701.     names.
  702.  
  703.     For example, if you have a file named WHIZ.GO which looks like this:
  704.  
  705.       About Whizzo-Calc
  706.       ;NEW Whizzo-Calc
  707.       Whizzo calc is a nifty new calculator program!
  708.       ;INST WC
  709.  
  710.     then it would show up on the Information menu as "About Whizzo-Calc", but
  711.     instead of looking for the archive file WHIZ.ZIP, it would look for WC.ZIP
  712.     since the INST command specified a different root-name.
  713.  
  714.  
  715.     Other Applications
  716.     ------------------
  717.  
  718.     The INST command is particularly useful in multi-disk installations.  This
  719.     technique is described in the following section.
  720.  
  721.  
  722.  
  723.     ===========================================================================
  724.                             Multi-Disk Installation
  725.     ===========================================================================
  726.     
  727.  
  728.     Sometimes there isn't enough room on a single disk for an archive file that
  729.     contains the entire product to be installed.  In such cases, you can break
  730.     up the product into multiple archives, then use an extended form of the
  731.     INST command to create a multi-disk installation.
  732.  
  733.     The INST command supports the following parameters:
  734.  
  735.     PARAMETER
  736.     NAME     NOTE EXAMPLE           DESCRIPTION OF PARAMETER
  737.     -------- ---- ----------------- ------------------------------------------
  738.     NAME       1  Name=Calc-O-Rama  Actual name of the product (max 40 chars)
  739.     SENDto     1  SendTo=CALCRAMA   Suggested directory name (max 60 chars)
  740.     STARt      2  Start=Install     Name of the first disk
  741.     THISdisk   3  ThisDisk=Install  Name of this disk
  742.     NEWDisk    4  NewDisk=Programs  Name of next disk in install
  743.     NEWFile    4  NewFile=CALC-2    Root name of archive file on the next disk
  744.  
  745.     Only the first four letters of the parameter identifier (e.g. NAME, NEWD,
  746.     etc.) are required.  Unless otherwise specified, the maximum length of a
  747.     parameter's value is 20 characters.  The character immediately following
  748.     the INST command is used as a delimiter (separator) for the other options
  749.     -- it is typical to use a space or a slash for this -- see the installation
  750.     example.
  751.  
  752.     NOTE #1: Appears only on the FIRST installation disk
  753.  
  754.     NOTE #2: Appears only on the SECOND and subsequent installation disks
  755.  
  756.     NOTE #3: Appears on all disks
  757.  
  758.     NOTE #4: Appears on all but the last disk
  759.  
  760.     These parameters are explained in more detail after the example section.
  761.  
  762.  
  763.  
  764.                               --------------------
  765.                               Installation Example
  766.                               --------------------
  767.  
  768.     ASSUMPTION: You have a product named "The Sapphire Bulletin Board System"
  769.     (Sapphire BBS) which you have broken up into two ZIP files of approximately
  770.     200K each in order to ensure that they fit on 360K disks.  Here is what
  771.     would appear on each disk:
  772.  
  773.     -------------------------------- DISK # 1 --------------------------------
  774.  
  775.     GO.EXE
  776.  
  777.     PKUNZIP.EXE
  778.  
  779.     SAPPHIR1.ZIP
  780.  
  781.     SAPPHIR1.GO -- This file would look something like this:
  782.  
  783.       About Sapphire
  784.       ;NEW SAPPHIRE -- THE ZERO-MAINTENANCE BBS
  785.  
  786.       SAPPHIRE is a bulletin board system that is optimized for business and
  787.       institutional applications.  It installs in minutes and does not need
  788.       daily maintenance.  Sapphire is reliable, simple and safe.
  789.  
  790.       ;INST/Name=Sapphire BBS/ThisDisk=Docu/NewDisk=Programs/NewFile=SAPPHIR2
  791.       
  792.     -------------------------------- DISK # 2 --------------------------------
  793.  
  794.     GO.BAT -- This file would look something like this:
  795.  
  796.       ECHO OFF
  797.       ECHO Please refer to the Docu disk for installation instructions.
  798.  
  799.     PKUNZIP.EXE
  800.  
  801.     SAPPHIR2.ZIP
  802.  
  803.     SAPPHIR2.GO -- This file would look something like this:
  804.  
  805.     ;INST/ThisDisk=Programs/Start=Docu
  806.  
  807.     --------------------------------------------------------------------------
  808.  
  809.     The INST parameters are explained in more detail below.
  810.  
  811.  
  812.  
  813.                                ------------------
  814.                                The NAMe Parameter
  815.                                ------------------
  816.  
  817.                              (Optional; first disk)
  818.  
  819.     The NAMe parameter lets you specify the actual name of your product.  This
  820.     is used only in the question "Do you want to install [product name]?"  If
  821.     you do not specify this parameter, the name of the archive file will be
  822.     used.
  823.  
  824.  
  825.                               --------------------
  826.                               The SENDto Parameter
  827.                               --------------------
  828.  
  829.                              (Optional; first disk)
  830.                                    
  831.     The SENDto parameter lets you specify the recommended destination
  832.     directory. If you do not specify this parameter, the directory will be
  833.     named after the first archive file.  The user can, of course, change the
  834.     recommended installation directory in any case.
  835.  
  836.     In most cases, you should NOT specify a drive for the SENDto parameter --
  837.     GO will pick C: (or B: if the user doesn't have a C: drive).  However, you
  838.     can specify a drive if you want to force the user to consider a particular
  839.     drive.
  840.  
  841.  
  842.                               -------------------
  843.                               The STARt Parameter
  844.                               -------------------
  845.  
  846.                                    (Disks 2+)
  847.  
  848.     The STARt parameter is used on any disks after the first one to specify the
  849.     name of the first installation disk.  (See THISdisk)  
  850.  
  851.  
  852.     The No-Go Technique
  853.     -------------------
  854.  
  855.     If the various parts of the product are on different diskettes, you only
  856.     need to put GO on the first diskette.  On disks 2+ you can put a simple
  857.     batch file named GO.BAT which looks something like this:
  858.  
  859.     ECHO OFF
  860.     ECHO To begin installation, please use the first disk -- not this one.
  861.     ECHO The first disk is labelled [whatever].
  862.  
  863.     Thus, if the user inserts the wrong disk and tries to run GO, he will be
  864.     told what he should have done.
  865.  
  866.     You CAN put GO.EXE on disks 2+ -- it will use the STARt parameter to figure
  867.     out that it's not the right disk to begin installation.  However, the
  868.     "No-Go Technique" (i.e. using the batch file above) uses less room on the
  869.     disk, and if this saves you adding an extra disk to your package, you can
  870.     save money!
  871.  
  872.  
  873.     Same Package -- Different Diskette Sizes
  874.     ----------------------------------------
  875.  
  876.     The STARt parameter usually points to the name of another diskette, but it
  877.     does NOT cause problems if you put several installation steps for the same
  878.     product on a single disk.
  879.  
  880.     Look at these two methods of packaging a product:
  881.  
  882.           TWO 360K DISKETTES                ONE 720K DISKETTE
  883.     -----------------------------           -----------------
  884.                                                 GO.EXE
  885.      GO.EXE         GO.BAT                      MYPROG1.GO
  886.      MYPROG1.GO     MYPROG2.GO                  MYPROG1.GO
  887.      MYPROG1.ZIP    MYPROG2.ZIP                 MYPROG1.ZIP
  888.                                                 MYPROG2.ZIP
  889.     -----------------------------           -----------------
  890.  
  891.     You could set up MYPROG1.GO and MYPROG2.GO to handle the 300K archives
  892.     MYPROG1.ZIP and MYPROG2.ZIP.  These could go on separate 360K diskettes,
  893.     and since the second diskette contains the batch file described in "The
  894.     No-Go Technique", the user will not be able to start installation on any
  895.     disk other than the first.
  896.  
  897.     However, if you put both .GO files on the same disk (a 720K or 1.44 Meg),
  898.     the user will NOT be instructed to "insert the proper disk" if he tries to
  899.     begin installation with MYPROG2 -- GO checks ahead of time to see if the
  900.     required starting archive is on the current disk.  He will, however, be
  901.     warned that he is trying to start installation in the wrong place.  The
  902.     user may continue with installation if he wants, but is advised against it.
  903.  
  904.     On the 720K diskette, step 2 (i.e. MYPROG2) will show up on the Install
  905.     menu, but the user will usually not see it on his Information menu, because
  906.     GO does not add a .GO file to the information menu if its first line is an
  907.     ;INST command -- it assumes that it is intended for step 2 or later and
  908.     thus contains no text.
  909.  
  910.  
  911.  
  912.                              ----------------------
  913.                              The THISdisk Parameter
  914.                              ----------------------
  915.  
  916.                                   (All disks)      
  917.  
  918.     The THISdisk parameter gives the current disk a name.  This name is checked
  919.     when the user inserts the disk as the next step in an installation.  (See
  920.     NEWDisk)
  921.  
  922.     The "disk name" applies only to the current installation task (i.e. the
  923.     archive file plus the associated .GO file), so you could, in theory, have
  924.     several GO files on the disk, each giving it a different name.  That is to
  925.     say, the disk itself is not "stamped" in any way; the identification is
  926.     contained in the .GO file only.
  927.  
  928.  
  929.  
  930.                              ---------------------
  931.                              The NEWDisk Parameter
  932.                              ---------------------
  933.  
  934.                               (All but last disk)
  935.  
  936.     If there are any disks to follow the current one, you specify the disk name
  937.     with the NEWDisk parameter.  For example, if you name the current disk
  938.     DISK3 by using "THIS=DISK3", it makes sense to name the next disk DISK4.
  939.     You specify this as "NEWD=DISK4".
  940.  
  941.     If DISK3 is the FINAL disk, though, omit the NEWDisk parameter.  This is
  942.     how GO knows that the installation is complete.
  943.  
  944.     Before asking for a new disk, GO checks to see if the required archive is
  945.     on the current disk.  (See "Same Package -- Different Diskette Sizes")
  946.  
  947.  
  948.  
  949.                              ---------------------
  950.                              The NEWFile Parameter
  951.                              ---------------------
  952.  
  953.                               (All but last disk)
  954.  
  955.     The NEWFile parameter lets you specify the root name of the archive file to
  956.     be used in the next installation step.
  957.  
  958.     You could, in theory, give identical file names to all archives on all
  959.     installation disks.  In practice, however, you will give them different
  960.     names because this lets you:
  961.  
  962.     - Keep standard copies in the same hard drive directory
  963.     - Place multi-disk installation steps ON THE SAME DISK
  964.  
  965.     GO always looks on the current disk for the NEWFile file before asking for
  966.     a new disk.  Thus, you can place your installation files on several 360K
  967.     diskettes or put them all on a single 1.4 meg diskette.  (See "Same Package
  968.     -- Different Diskette Sizes" for an example of this technique.)
  969.  
  970.  
  971.  
  972.     ===========================================================================
  973.                               The GO-COPY Program
  974.     ===========================================================================
  975.     
  976.  
  977.                                 ----------------
  978.                                 What is GO-COPY?
  979.                                 ----------------
  980.  
  981.     GO-COPY processing lets the user copy selected files to another diskette.
  982.  
  983.     If GO sees the files GO-COPY.EXE and GO-COPY.COP on the diskette, it
  984.     will read the first line of GO-COPY.COP and display that on the main GO
  985.     menu.  When the user selects this item, the program GO-COPY.EXE is called.
  986.  
  987.     GO-COPY copies files from the diskette to another diskette.  The files to
  988.     be copied are specified in the file GO-COPY.COP (described later).
  989.  
  990.     All files to be copied are first read into RAM, in order to make rapid
  991.     duplication possible.  This places a limit on the size of the copy task.
  992.     GO and GO-COPY take up around 120K, so you need around 500K of free memory
  993.     to copy a full 360K disk.
  994.  
  995.     If there is not enough RAM, the user is advised to remove TSRs, or to run
  996.     GO-COPY directly (since GO is not loaded, this saves about 70K).
  997.  
  998.  
  999.  
  1000.                               --------------------
  1001.                               The GO-COPY.COP File
  1002.                               --------------------
  1003.       
  1004.     GO-COPY.COP is a text file.  It has the following format:
  1005.  
  1006.  
  1007.     Text to appear on the main GO menu
  1008.     File name
  1009.     File name
  1010.     :
  1011.     :
  1012.     END
  1013.     Text to be displayed prior to copy task
  1014.     :
  1015.     :
  1016.  
  1017.  
  1018.     Up to 50 files can be copied by GO-COPY.  The end of the list of files is
  1019.     indicated by the word END.  Wildcards are permitted (e.g. *.EXE).
  1020.  
  1021.     The display text is shown according to the standard display and
  1022.     colorization rules described in "Basic GO Techniques".
  1023.  
  1024.  
  1025.  
  1026.     ===========================================================================
  1027.                               The GO-DISKS Program
  1028.     ===========================================================================
  1029.  
  1030.  
  1031.                                -----------------
  1032.                                What is GO-DISKS?
  1033.                                -----------------
  1034.  
  1035.     GO-DISKS processing is just like GO-COPY processing, but is designed for
  1036.     the software developer rather than the end user.  Instead of asking you to
  1037.     press a key to continue, GO-DISKS monitors the status of the diskette
  1038.     drive.
  1039.  
  1040.     GO-DISKS is useful when you need to create dozens of copies of the same
  1041.     disk. Since the copies are performed from RAM, you can create the disks
  1042.     faster than usual.
  1043.  
  1044.     The data for GO-DISKS is kept in the text file GO-DISKS.DSK.  You may
  1045.     also pass the name of the file on the command line.  The format of
  1046.     GO-DISKS.DSK is the same as for the GO-COPY.COP file.
  1047.  
  1048.     IMPORTANT NOTE:  GO-DISKS requires an AT-class (or higher) computer.  It
  1049.     will not work on most XT- or PC-class machines because their diskette
  1050.     drives can not detect the absence of a diskette.
  1051.  
  1052.     NOTE:  If you find GO-DISKS useful, you might also consider trying out the
  1053.     faster and more powerful COPYQM program created by Sydex Inc.  We ourselves
  1054.     use the FORMATQM program, also by Sydex.
  1055.                                                       
  1056.  
  1057.  
  1058.                           ----------------------------
  1059.                           GO-COPY and GO-DISKS Samples
  1060.                           ----------------------------
  1061.  
  1062.     The original GO package includes sample GO-DISKS.DSK and GO-COPY.COP files.
  1063.     In order to try these out, enter
  1064.  
  1065.     GO-COPY
  1066.  
  1067.     or
  1068.  
  1069.     GO-DISKS
  1070.  
  1071.     at the DOS prompt.
  1072.  
  1073.  
  1074.  
  1075.     ===========================================================================
  1076.                             Using GO in Batch Files
  1077.     ===========================================================================
  1078.  
  1079.  
  1080.                                 ----------------
  1081.                                 What is GO-MENU?
  1082.                                 ----------------
  1083.                                 
  1084.     The GO-MENU program is used in a batch file to display a menu of up to 18
  1085.     items.  This is useful for organizing a diskette containing several
  1086.     unrelated programs, but can be used in any batch file application.
  1087.  
  1088.     GO-MENU reads the contents of the menu from an ordinary text file
  1089.     containing up to 19 lines (a menu header followed by the menu lines).
  1090.  
  1091.     The user can select an item from the menu by moving a cursor bar with the
  1092.     arrow keys, then pressing Enter.  Also, if there are 10 or less menu
  1093.     choices, the function keys (F1 to F10) are displayed beside each menu
  1094.     choice.
  1095.  
  1096.     The command line format for GO-MENU is:
  1097.  
  1098.     GO-MENU <menu file>
  1099.  
  1100.     For example:
  1101.  
  1102.     GO-MENU MYMENU.MNU
  1103.  
  1104.     For a sample menu definition, refer to the file GO-MENU.MNU, included in
  1105.     the GO package.  It also shows how lines beginning with a semi-colon (;)
  1106.     are ignored (i.e. interpreted as comments).
  1107.  
  1108.     To try it out, enter this command at the DOS prompt:
  1109.  
  1110.     GO-MENU GO-MENU.MNU
  1111.  
  1112.     This demonstrates a short menu of only 10 items.  A longer sample is also
  1113.     provided; to try it out, enter this command at the DOS prompt:
  1114.  
  1115.     GO-MENU LONG.MNU
  1116.  
  1117.  
  1118.     The GO-MENU Save File
  1119.     ---------------------
  1120.  
  1121.     You can create a "save file" to remember the last selection a user picked
  1122.     on 256 different menus.  The format of this technique is:
  1123.  
  1124.     GO-MENU menu-file save-index save-file
  1125.  
  1126.     For example:
  1127.  
  1128.     GO-MENU LONG.MNU 123 TEST.SAV
  1129.  
  1130.     The save index is a number from 0 to 255.  Each menu should have its own
  1131.     index.  In the example above, save index 123 would remember the position of
  1132.     the cursor for LONG.MNU.
  1133.  
  1134.     The position is NOT saved if the user selects the LAST item on the menu,
  1135.     which is assumed to be "Quit" or "Previous menu".
  1136.  
  1137.     For more details, start up GO-MENU like this:
  1138.  
  1139.     GO-MENU /?
  1140.  
  1141.  
  1142.                             ------------------------
  1143.                             Using GO -D With GO-MENU
  1144.                             ------------------------
  1145.  
  1146.     The GO program has a special command line parameter designed to work with
  1147.     GO-MENU.  Normally, when you call GO, it will look in its home directory
  1148.     for an archive file.  Thus, if the user is on the C: drive when they type
  1149.     A:GO, it will look on the A: drive, because that is where GO.EXE is
  1150.     located.
  1151.  
  1152.     The -D parameter, however, tells GO to look in the current directory.  This
  1153.     lets you use a single copy of GO to support many directories.  For example,
  1154.     your batch file might look like this:
  1155.  
  1156.  
  1157.     ECHO OFF
  1158.     REM Batch file placed in the root directory of the diskette
  1159.     A:
  1160.     :AGAIN
  1161.     CLS
  1162.     CD \
  1163.     GO-MENU MYMENU.MNU
  1164.     IF ERRORLEVEL 4 CD \GAMES
  1165.     IF ERRORLEVEL 5 CD \MISC
  1166.     CLS
  1167.     \GO.EXE -D
  1168.     IF ERRORLEVEL 10 GOTO END
  1169.     GOTO AGAIN
  1170.     :END
  1171.  
  1172.  
  1173.     The line:
  1174.  
  1175.     \GO.EXE -D
  1176.  
  1177.     Executes the GO program in the root directory.  The -D parameter, though,
  1178.     tells it to look for archives in the current directory.
  1179.  
  1180.     Note also the line:
  1181.  
  1182.     IF ERRORLEVEL 10 GOTO END
  1183.  
  1184.     If GO ends because a program was just installed, it will set the DOS
  1185.     ErrorLevel to 10.  This lets you break out of the batch file.
  1186.  
  1187.  
  1188.  
  1189.                                 ---------------
  1190.                                 The GO.HDG File
  1191.                                 ---------------
  1192.  
  1193.  
  1194.     NOTE:  In order to protect our copyright, we restrict the use of the GO.HDG
  1195.     file to registered copies of GO.
  1196.  
  1197.  
  1198.     Changing the Menu Title
  1199.     -----------------------
  1200.  
  1201.     In the sample batch file shown previously, the user could "navigate" to the
  1202.     \GAMES and \MISC directories.  It would be nice if, when the GO program was
  1203.     called, it would replace the title line (which is normally just a copyright
  1204.     message) with a title like: GAMES SECTION, or MISCELLANEOUS PROGRAMS.
  1205.  
  1206.     If GO sees a standard text file named GO.HDG in the directory, it will use
  1207.     the first line of the file as the title of the main menu screen.  This lets
  1208.     you change the 35-character header to suit circumstances.
  1209.  
  1210.  
  1211.     Jumping Directly to the Information Menu
  1212.     ----------------------------------------
  1213.  
  1214.     If the second line of the HDG file contains the three characters "INF", GO
  1215.     will skip the usual main menu and display only the "Information" menu.  In
  1216.     such case, the first line will be used as the title of the "Information"
  1217.     menu as opposed to the main menu.  This technique of skipping the opening
  1218.     menu is sometimes more appropriate, especially for users who are beginners.
  1219.  
  1220.     By using a combination of GO-MENU, GO -D and GO.HDG, you can create a
  1221.     "guided tour" of all your software products!
  1222.  
  1223.  
  1224.  
  1225.                              ----------------------
  1226.                              The GetKey Alternative
  1227.                              ----------------------
  1228.  
  1229.     Sometimes you don't need a complicated menu -- just a one-line question.
  1230.     You can use the GETKEY program to do this.  For example:
  1231.  
  1232.     GETKEY Are you sure?  YN
  1233.  
  1234.     Without clearing the screen, this displays the text "Are you sure?" and the
  1235.     available keys (YN), then sets the DOS ERRORLEVEL to 1 if the user presses
  1236.     "Y" or 2 if the user presses "N".
  1237.  
  1238.     The first key listed is the default key; if the user presses spacebar or
  1239.     Enter, that is the key that will be selected.
  1240.  
  1241.     You can detect other characters besides Y or N.  For example:
  1242.  
  1243.     GETKEY Select an option.  1234567
  1244.  
  1245.     This would accept the keys "1" through "7", while spacebar and Enter would
  1246.     be interpreted as "1".  (All other keys are ignored.)
  1247.  
  1248.     You can change the default key from the first one listed to one of the
  1249.     other keys by prefixing the desired default key with the "@" character.
  1250.     For example:
  1251.  
  1252.     GETKEY Select an option.  123@4567
  1253.  
  1254.     This would accept any key from "1" to "7", while spacebar and Enter would
  1255.     be interpreted as "4".
  1256.  
  1257.     For a complete formal description of GETKEY, enter the following at the DOS
  1258.     prompt:
  1259.  
  1260.     GETKEY /?
  1261.  
  1262.     This describes some additional options, such as space-padding, and shows
  1263.     you how you can use GETKEY to provide a "Press space to continue" message.
  1264.     (See also the explanation of the WAIT program for an alternative method of
  1265.     displaying a "Press space to continue" message.)
  1266.  
  1267.  
  1268.  
  1269.     ===========================================================================
  1270.                                  Hints and Tips
  1271.     ===========================================================================
  1272.                                 
  1273.  
  1274.                          -----------------------------
  1275.                          Specifying GO-COPY File Names
  1276.                          -----------------------------
  1277.  
  1278.     When you specify files in GO-COPY.COP, don't include the drive letter. For
  1279.     example, if you list a file like this:
  1280.  
  1281.     A:\DATA\INVOICE.DAT
  1282.  
  1283.     GO-COPY will always look at the A: drive for that directory and file.
  1284.     However, if you specify it this way:
  1285.  
  1286.     \DATA\INVOICE.DAT
  1287.  
  1288.     GO-COPY will look on whatever drive GO-COPY.EXE is on.  This is usually the
  1289.     A: drive, but this will let the user run GO-COPY from any drive.
  1290.  
  1291.     
  1292.  
  1293.                               -------------------
  1294.                               Renaming Copy Files
  1295.                               -------------------
  1296.  
  1297.     The files listed in GO-COPY.COP or GO-DISKS.DSK can be copied to a file
  1298.     with a different name.  Simply specify the new name after the name of the
  1299.     source file.  For example:
  1300.  
  1301.     \MYPROG\TEST.EXE PROGRAM.EXE
  1302.  
  1303.     This feature can not be used with wildcards.  For example, the following
  1304.     lines would NOT be valid:
  1305.  
  1306.     \BAD\*.EXE NAUGHTY.EXE
  1307.  
  1308.     \BAD\*.DOG *.CAT
  1309.  
  1310.  
  1311.  
  1312.     ===========================================================================
  1313.                         Other Programs Included with GO
  1314.     ===========================================================================
  1315.     
  1316.  
  1317.     The following programs are also included with GO.  We've found them to be
  1318.     quite useful in packaging software.  Please see the section entitled
  1319.     "Versions and Registration" for information about the distribution of these
  1320.     programs.
  1321.  
  1322.  
  1323.                                       ---
  1324.                                       SEE
  1325.                                       ---
  1326.  
  1327.     The SEE program displays (and optionally prints) a text file.  We have
  1328.     included it as a document viewer for this manual.  You may find it useful
  1329.     for your own applications.
  1330.  
  1331.     The format for SEE is:
  1332.  
  1333.     SEE <file name>
  1334.  
  1335.     For example:
  1336.  
  1337.     SEE MYFILE.TXT
  1338.  
  1339.     For complete instructions, enter this command:
  1340.  
  1341.     SEE /?
  1342.  
  1343.     SEE is a freeware program.  If you distribute it, you must include the file
  1344.     AMAZE.TXT (our order form), and your documentation must mention this file.
  1345.     If you wish to avoid this requirement, you can purchase a copy of SEE for
  1346.     distribution purposes.  Please call us for details.
  1347.  
  1348.  
  1349.  
  1350.                                     --------
  1351.                                     GO_SMALL
  1352.                                     --------
  1353.  
  1354.     This is a compressed copy of the GO.EXE program.  We recommend that you use
  1355.     an EXE file compressor before you put your copy of GO onto the diskette;
  1356.     this leaves more room for software.  If you don't have access to an EXE
  1357.     compressor, you can copy GO_SMALL.EXE to your diskette as GO.EXE.
  1358.  
  1359.     GO_SMALL is a copy of GO.EXE that was compressed with the DIET program.
  1360.     Since it is compressed, you can not modify it as described in the section
  1361.     "Doing it the Hard Way".  If you want to apply modifications, you must do
  1362.     them to an uncompressed copy of GO.EXE.
  1363.  
  1364.     Another popular EXE compressor is PKLITE from PKWare.
  1365.  
  1366.  
  1367.  
  1368.                                     -------
  1369.                                     READING
  1370.                                     -------
  1371.  
  1372.     The READING.EXE program displays the message "Reading Disk... ".  This
  1373.     gives the user something to look at while jumping from place to place in
  1374.     batch files, which are notoriously slow when run from diskettes.
  1375.  
  1376.  
  1377.  
  1378.                                      ------
  1379.                                      SETERR
  1380.                                      ------
  1381.  
  1382.     SETERR sets the DOS ErrorLevel to the specified number.  The format for
  1383.     this command is:
  1384.  
  1385.     SETERR <number>
  1386.  
  1387.     For example:
  1388.  
  1389.     SETERR 25
  1390.  
  1391.     SETERR is useful for controlling the flow of batch files.  For example, if
  1392.     one file CALLs another, the called file can set an errorlevel of 0 if
  1393.     everything is fine, or 255 if there was an error.  Thus, the batch
  1394.     files would look something like this:
  1395.  
  1396.  
  1397.     TEST.BAT                           OTHER.BAT
  1398.     --------                           ---------
  1399.     ECHO OFF                           ECHO OFF
  1400.     CALL OTHER.BAT MYFILE.TXT          IF (%1) == () GOTO PROBLEM
  1401.     IF ERRORLEVEL 255 GOTO PROBLEM     IF EXISTS %1 GOTO OKAY
  1402.     ECHO Copying file...               :PROBLEM
  1403.     COPY MYFILE.TXT A:                 SETERR 255
  1404.     GOTO END                           GOTO END
  1405.     :PROBLEM                           :OKAY
  1406.     ECHO The file wasn't there!        SETERR 0
  1407.     :END                               :END
  1408.  
  1409.  
  1410.     In this way, you can write subroutines in batch files.  (You can accomplish
  1411.     something similar using "SET" environment variables, but you run a risk:
  1412.     if the environment space runs out, your batch file will fail.)
  1413.  
  1414.  
  1415.  
  1416.                                     -------
  1417.                                     WAITBLK
  1418.                                     -------
  1419.  
  1420.     The WAITBLK program is a batch-file utility which lets you create an
  1421.     alternative to GO-DISKS processing (described earlier).  WAITBLK will wait
  1422.     for a blank diskette to be inserted into the specified drive.
  1423.  
  1424.     For details, enter the DOS command: WAITBLK ?
  1425.  
  1426.     WAITBLK is not recommended for XT and PC machines, which typically do not
  1427.     report whether or not the the drive is ready.
  1428.  
  1429.  
  1430.  
  1431.                                       ----
  1432.                                       WAIT
  1433.                                       ----
  1434.  
  1435.     The WAIT program waits for the user to hit a key.  If the user does not hit
  1436.     a key in the required amount of time, the wait "times out".  This is handy
  1437.     for batch files that usually run unattended.
  1438.  
  1439.     For a complete description of WAIT, enter the following command at the DOS
  1440.     prompt:
  1441.  
  1442.     WAIT /?
  1443.  
  1444.  
  1445.  
  1446.     ===========================================================================
  1447.                            Versions and Registration
  1448.     ===========================================================================
  1449.  
  1450.  
  1451.                             ------------------------
  1452.                             Changes Between Versions
  1453.                             ------------------------
  1454.  
  1455.     If you are curious about what has changed between versions, or if you have
  1456.     a problem and think it might be caused by an upgrade incompatibility, refer
  1457.     to the version history file by entering the following command at the DOS
  1458.     prompt:
  1459.  
  1460.     SEE CHANGE.LOG
  1461.  
  1462.  
  1463.                         -------------------------------
  1464.                         Registered Usage of GO Programs
  1465.                         -------------------------------
  1466.  
  1467.     To obtain a fully-registered copy of GO, order a personalized copy for just
  1468.     $19.  To view or print an order form, make sure that you are in the GO
  1469.     directory then enter START.  For a list of the items that you can
  1470.     customize, enter GO /? at the DOS prompt.
  1471.  
  1472.     There are several advantages to having a registered copy of GO:
  1473.  
  1474.     - You receive a virus-screened copy of the latest version, direct from
  1475.       the author.
  1476.  
  1477.     - Your main menu header (typically your company name) is stamped right
  1478.       into the EXE file and is checksummed to prevent alteration by pirate
  1479.       distributors.
  1480.  
  1481.     - You can use HDG files (see "The GO.HDG File")
  1482.  
  1483.     - Your copy of GO will have our advertising screen removed.
  1484.  
  1485.     - You are granted privileged access to our support BBS.
  1486.  
  1487.     If you are in a hurry to get your copy, you can order our "Instant
  1488.     Registration Service", which lets you download your registered copy from
  1489.     our support BBS.  For complete pricing, see the order form, located in
  1490.     the file GO-FORM.DAT.
  1491.  
  1492.  
  1493.                            -------------------------
  1494.                            Free Usage of GO Programs
  1495.                            -------------------------
  1496.  
  1497.     You are entitled to use the GO program to distribute your software.  You
  1498.     don't have to pay a penny for the privilege!
  1499.  
  1500.     Why do we allow people to use our program without paying for it? Because
  1501.     all unregistered copies of GO contain our advertising screen (i.e. the
  1502.     "About GO" selection on the main menu).  Thus, by passing around
  1503.     unregistered copies of GO, you are helping us advertise.  Everybody wins!
  1504.  
  1505.     As for the other programs, you are welcome to use them under these
  1506.     circumstances:
  1507.  
  1508.     (A) You are a registered owner of GO, or ...
  1509.  
  1510.     (B) The program is accompanied by a unregistered copy of GO, or ...
  1511.  
  1512.     (C) The program is accompanied by the file AMAZE.TXT and your documentation
  1513.         explicitly states that it is included as part of the licensing
  1514.         requirement for the particular program.
  1515.                         
  1516.  
  1517.  
  1518.                             -----------------------
  1519.                             Ordering Upgrades to GO
  1520.                             -----------------------
  1521.  
  1522.     If you have already registered a copy of GO and would like to register a
  1523.     newer version, all further GO orders are available from Pinnacle at a
  1524.     minimum of 25% off the prices indicated on the order form.  We sometimes
  1525.     offer larger discounts or special arrangements; call us if you would like
  1526.     additional details.
  1527.     
  1528.  
  1529.  
  1530.                                    ----------
  1531.                                    Thank-You!
  1532.                                    ----------
  1533.  
  1534.     If you're trying GO for the first time, we'd like to thank you for your
  1535.     interest in our product, and for taking the time to evaluate it.
  1536.  
  1537.     If you're a registered owner, or you're planning on ordering a registered
  1538.     copy, we thank you for supporting the shareware concept; it's your support
  1539.     that makes it possible for shareware authors to continue producing
  1540.     affordable, quality software!
  1541.  
  1542.  
  1543.